package com.spring.sd.trans.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@TableName(value = "person")
public class Person {
    @TableId(type = IdType.AUTO)
    private String id;

    @TableField("lastName")
    protected String lastName;
    @TableField("firstName")
    protected String firstName;

    protected String address;
    protected String city;
}